<div class="shape-container" [ngStyle]="oper.style">
    <canvas #canvas *ngIf="oper.hasCanvas" [ngStyle]="oper.canvasStyle"></canvas>
    <shape-box *ngFor="let child of oper.children" [oper]="child"></shape-box>
</div>
<div class="point" *ngFor="let pointOfOneType of oper.points">
    <div *ngFor="let point of pointOfOneType">
        <shape-box class="point" *ngIf="point.visible" [oper]="point" (mousedown.stop)="selectPoint(point, $event)"></shape-box>
    </div>
</div>